package com.example.sty.mapper;


import com.example.sty.domain.UserProject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserProjectMapper{


    /**
     * 奖项颁布 裁判打分
     *
     * @param userProject
     */
    void insertUserProject(UserProject userProject);

    /**
     * 查看单个项目的报名人信息
     *
     * @return
     */
    List<UserProject> getUserProjects(Integer projectId);

}
